package com.jiezuo.common.util;

import java.util.UUID;

/**
* @description   id生成工具类
* @author        庞留杰
* @date          2020/7/16 19:17
* @version       V1.0
**/
public class UUIDGenerator {

    public UUIDGenerator() {}

    public static String getUUID() {
        return UUID.randomUUID().toString().replaceAll("-", "").substring(0, 32);
    }

    public static void main(String[] args) {
        System.out.println(getUUID());
    }
}
